Этот коммит содержится в:
Muhammad S
2022-11-30 19:03:06 +02:00
родитель a71adb08e0
Коммит 62a1601331
2 изменённых файлов: 1 добавлений и 3 удалений

Просмотреть файл

@@ -63,6 +63,7 @@ func (a *App) AuthenticateUserForLogin(c *request.Context, id, loginId, password
if user, err = a.GetUserForLogin(id, loginId); err != nil { if user, err = a.GetUserForLogin(id, loginId); err != nil {
return nil, err return nil, err
} }
// CWS login allow to use the one-time token to login the users when they're redirected to their // CWS login allow to use the one-time token to login the users when they're redirected to their
// installation for the first time // installation for the first time
if IsCWSLogin(a, cwsToken) { if IsCWSLogin(a, cwsToken) {

Просмотреть файл

@@ -76,8 +76,6 @@ type FeatureFlags struct {
ThreadsEverywhere bool ThreadsEverywhere bool
GlobalDrafts bool GlobalDrafts bool
UrlMappingForCWS bool
} }
func (f *FeatureFlags) SetDefaults() { func (f *FeatureFlags) SetDefaults() {
@@ -107,7 +105,6 @@ func (f *FeatureFlags) SetDefaults() {
f.ReduceOnBoardingTaskList = false f.ReduceOnBoardingTaskList = false
f.ThreadsEverywhere = false f.ThreadsEverywhere = false
f.GlobalDrafts = false f.GlobalDrafts = false
f.UrlMappingForCWS = false
} }
func (f *FeatureFlags) Plugins() map[string]string { func (f *FeatureFlags) Plugins() map[string]string {