@@ -60,13 +60,13 @@ def oauth(self, provider, success='', failure=''):
6060 return self .client .call ('get' , path , {
6161 }, params )
6262
63- def recovery (self , email , redirect ):
63+ def recovery (self , email , confirmation ):
6464 """Password Recovery"""
6565
6666 params = {}
6767 path = '/auth/recovery'
6868 params ['email' ] = email
69- params ['redirect ' ] = redirect
69+ params ['confirmation ' ] = confirmation
7070
7171 return self .client .call ('post' , path , {
7272 }, params )
@@ -84,14 +84,14 @@ def recovery_reset(self, user_id, token, password_a, password_b):
8484 return self .client .call ('put' , path , {
8585 }, params )
8686
87- def register (self , email , password , redirect , success , failure , name = '' ):
87+ def register (self , email , password , confirmation , success = '' , failure = '' , name = '' ):
8888 """Register User"""
8989
9090 params = {}
9191 path = '/auth/register'
9292 params ['email' ] = email
9393 params ['password' ] = password
94- params ['redirect ' ] = redirect
94+ params ['confirmation ' ] = confirmation
9595 params ['success' ] = success
9696 params ['failure' ] = failure
9797 params ['name' ] = name
@@ -110,12 +110,12 @@ def confirm(self, user_id, token):
110110 return self .client .call ('post' , path , {
111111 }, params )
112112
113- def confirm_resend (self , redirect ):
113+ def confirm_resend (self , confirmation ):
114114 """Resend Confirmation"""
115115
116116 params = {}
117117 path = '/auth/register/confirm/resend'
118- params ['redirect ' ] = redirect
118+ params ['confirmation ' ] = confirmation
119119
120120 return self .client .call ('post' , path , {
121121 }, params )
0 commit comments