Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
persona
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hexang 息壤平台
persona
Commits
43c5d8a8
Commit
43c5d8a8
authored
12 years ago
by
Lloyd Hilaiel
Browse files
Options
Downloads
Patches
Plain Diff
update documentation for email_for_token call
parent
c9fa9fbf
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/wsapi/email_for_token.js
+9
-4
9 additions, 4 deletions
lib/wsapi/email_for_token.js
with
9 additions
and
4 deletions
lib/wsapi/email_for_token.js
+
9
−
4
View file @
43c5d8a8
...
...
@@ -7,10 +7,15 @@ db = require('../db.js'),
httputils
=
require
(
'
../httputils.js
'
),
logger
=
require
(
'
../logging.js
'
).
logger
;
/* First half of account creation. Stages a user account for creation.
* this involves creating a secret url that must be delivered to the
* user via their claimed email address. Upon timeout expiry OR clickthrough
* the staged user account transitions to a valid user account
/* Given a verification secret (a "token", delivered via email), return the
* email address associated with this token.
*
* This call also returns a hint to the UI, regarding whether completing the
* email verification that this token will require the user to enter their
* password.
*
* These two things are conflated into a single call as a performance
* optimization.
*/
exports
.
method
=
'
get
'
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment