Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
mattermost-webapp
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
sysadmin
mattermost
mattermost-webapp
Commits
957f6bd5
Commit
957f6bd5
authored
Nov 30, 2018
by
Christopher Speller
Committed by
JoramWilander
Dec 03, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reverting #2060 to fix SAML login. (#2116)
parent
44db65a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
actions/views/root.js
actions/views/root.js
+1
-3
No files found.
actions/views/root.js
View file @
957f6bd5
...
@@ -5,8 +5,6 @@ import {getClientConfig, getLicenseConfig} from 'mattermost-redux/actions/genera
...
@@ -5,8 +5,6 @@ import {getClientConfig, getLicenseConfig} from 'mattermost-redux/actions/genera
import
*
as
UserActions
from
'
mattermost-redux/actions/users
'
;
import
*
as
UserActions
from
'
mattermost-redux/actions/users
'
;
import
{
Client4
}
from
'
mattermost-redux/client
'
;
import
{
Client4
}
from
'
mattermost-redux/client
'
;
import
LocalStorageStore
from
'
stores/local_storage_store
'
;
import
{
ActionTypes
}
from
'
utils/constants
'
;
import
{
ActionTypes
}
from
'
utils/constants
'
;
export
function
loadMeAndConfig
()
{
export
function
loadMeAndConfig
()
{
...
@@ -17,7 +15,7 @@ export function loadMeAndConfig() {
...
@@ -17,7 +15,7 @@ export function loadMeAndConfig() {
dispatch
(
getLicenseConfig
()),
dispatch
(
getLicenseConfig
()),
];
];
if
(
document
.
cookie
.
indexOf
(
'
MMUSERID=
'
)
>
-
1
&&
LocalStorageStore
.
getWasLoggedIn
()
)
{
if
(
document
.
cookie
.
indexOf
(
'
MMUSERID=
'
)
>
-
1
)
{
promises
.
push
(
dispatch
(
UserActions
.
loadMe
()));
promises
.
push
(
dispatch
(
UserActions
.
loadMe
()));
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment