Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
coopwire-hypothesis
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
孙灵跃 Leon Sun
coopwire-hypothesis
Commits
935290fb
Commit
935290fb
authored
Jan 16, 2015
by
ujvari
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix auth service comment
parent
48b0e064
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
auth-service.coffee
h/static/scripts/auth-service.coffee
+4
-5
No files found.
h/static/scripts/auth-service.coffee
View file @
935290fb
...
...
@@ -19,10 +19,9 @@ class Auth
@
user
=
undefined
# Fired when the identity-service successfully requests authentication.
# Sets up the Annotator.Auth plugin instance and after the plugin
# initialization it sets up an Annotator.Permissions plugin instance
# and finally it sets the auth.user property. It sets a flag between
# that time period to indicate that the token is being checked.
# Sets up the Annotator.Auth plugin instance and the auth.user property.
# It sets a flag between that time period to indicate that the token is
# being checked.
onlogin
=
(
assertion
)
=>
_checkingToken
=
true
...
...
@@ -38,7 +37,7 @@ class Auth
$rootScope
.
$apply
()
# Fired when the identity-service forgets authentication.
# Destroys the Annotator.Auth
and Permissions plugin instances
and sets
# Destroys the Annotator.Auth
plugin instance
and sets
# the user to null.
onlogout
=
=>
plugins
.
Auth
?
.
element
.
removeData
(
'annotator:headers'
)
...
...
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