File tree 3 files changed +8
-8
lines changed
3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -401,7 +401,7 @@ url = "/api/user/:action"
401
401
[resetPassword]
402
402
[account]
403
403
[session]
404
- verifyToken = 1
404
+ checkToken = 1
405
405
==
406
406
{% if this.param.action == 'signin' %}
407
407
{% do response(
@@ -433,7 +433,7 @@ description = "Auth API Layout"
433
433
is_priority = 1
434
434
435
435
[session]
436
- verifyToken = 1
436
+ checkToken = 1
437
437
==
438
438
{% if session.user %}
439
439
{% page %}
Original file line number Diff line number Diff line change @@ -64,9 +64,9 @@ public function defineProperties()
64
64
'type ' => 'dropdown ' ,
65
65
'default ' => ''
66
66
],
67
- 'verifyToken ' => [
68
- 'title ' => /*Use token authentication*/ 'rainlab.user::lang.session.verify_token ' ,
69
- 'description ' => /*Check authentication using a verified bearer token.*/ 'rainlab.user::lang.session.verify_token_desc ' ,
67
+ 'checkToken ' => [
68
+ 'title ' => /*Use token authentication*/ 'rainlab.user::lang.session.check_token ' ,
69
+ 'description ' => /*Check authentication using a verified bearer token.*/ 'rainlab.user::lang.session.check_token_desc ' ,
70
70
'type ' => 'checkbox ' ,
71
71
'default ' => 0
72
72
],
@@ -95,7 +95,7 @@ public function getAllowedUserGroupsOptions()
95
95
public function init ()
96
96
{
97
97
// Login with token
98
- if ($ this ->property ('verifyToken ' , false )) {
98
+ if ($ this ->property ('checkToken ' , false )) {
99
99
$ this ->authenticateWithBearerToken ();
100
100
}
101
101
Original file line number Diff line number Diff line change 233
233
'redirect_desc ' => 'Page name to redirect if access is denied. ' ,
234
234
'logout ' => 'You have been successfully logged out! ' ,
235
235
'stop_impersonate_success ' => 'You are no longer impersonating a user. ' ,
236
- 'verify_token ' => 'Use token authentication ' ,
237
- 'verify_token_desc ' => 'Check this box to allow authentication using a bearer token. ' ,
236
+ 'check_token ' => 'Use token authentication ' ,
237
+ 'check_token_desc ' => 'Check this box to allow authentication using a bearer token. ' ,
238
238
]
239
239
];
You can’t perform that action at this time.
0 commit comments