mirror of
https://github.com/hrfee/jfa-go.git
synced 2024-12-22 17:10:10 +00:00
users: remove notes
This commit is contained in:
parent
280c6e4f16
commit
f289680d98
26
users.go
26
users.go
@ -48,31 +48,7 @@ type NewUserData struct {
|
|||||||
Log func()
|
Log func()
|
||||||
}
|
}
|
||||||
|
|
||||||
// FIXME: First load of steps are going in NewUserFromInvite, because they're only used there.
|
// Called after a new-user-creating route has done pre-steps (veryfing contact methods for example).
|
||||||
// Make an interface{} for Require/Verify/ExistingUser which all contact daemons respect, then loop through!
|
|
||||||
/*
|
|
||||||
-- STEPS --
|
|
||||||
- Validate Invite
|
|
||||||
- Validate CAPTCHA
|
|
||||||
- Validate Password
|
|
||||||
- a) Discord (Require, Verify, ExistingUser, ApplyRole)
|
|
||||||
b) Telegram (Require, Verify, ExistingUser)
|
|
||||||
c) Matrix (Require, Verify, ExistingUser)
|
|
||||||
d) Email (Require, Verify, ExistingUser)
|
|
||||||
* Check for existing user
|
|
||||||
* Generate JF user
|
|
||||||
- Delete Invite
|
|
||||||
* Store Activity
|
|
||||||
* Store Email
|
|
||||||
- Store Discord/Telegram/Matrix/Label
|
|
||||||
- Notify Admin (Doesn't really matter when this happens)
|
|
||||||
* Apply Profile
|
|
||||||
* Generate JS, Ombi Users, apply profiles
|
|
||||||
* Send Welcome Email
|
|
||||||
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
func (app *appContext) NewUserPostVerification(p NewUserParams) (out NewUserData) {
|
func (app *appContext) NewUserPostVerification(p NewUserParams) (out NewUserData) {
|
||||||
// Some helper functions which will behave as our app.info/error/debug
|
// Some helper functions which will behave as our app.info/error/debug
|
||||||
deferLogInfo := func(s string, args ...any) {
|
deferLogInfo := func(s string, args ...any) {
|
||||||
|
Loading…
Reference in New Issue
Block a user