Skip to content

Commit 789e49e

Browse files
committed
fix logout
1 parent 6cbbb8a commit 789e49e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rest/config/web.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@
4444
'rules' => [
4545
['class' => 'yii\rest\UrlRule', 'controller' => 'user'],
4646

47-
'OPTIONS user/login' => 'user/options',
4847
'OPTIONS user/logout' => 'user/options',
48+
'OPTIONS user/login' => 'user/options',
4949
'GET user/login' => 'user/login',
5050
'GET user/logout' => 'user/logout',
5151
'POST user/login' => 'user/login',

0 commit comments

Comments
 (0)