Refactor code structure for improved readability and maintainability
This commit is contained in:
@@ -60,10 +60,10 @@ const getLoginMethodByDomain = (): LoginMethod[] => {
|
||||
methods = ['password', 'wechat-mp-ticket', 'wechat',]
|
||||
break;
|
||||
case 'localhost':
|
||||
methods = ['password', 'web']
|
||||
methods = ['web', 'password']
|
||||
break
|
||||
case 'cnb.run':
|
||||
methods = ['password', 'web']
|
||||
methods = ['web', 'password']
|
||||
break;
|
||||
default:
|
||||
methods = ['password', 'web', 'phone', 'wechat', 'wechat-mp', 'wechat-mp-ticket']
|
||||
|
||||
Reference in New Issue
Block a user