mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-22 10:45:56 +02:00
* WIP on user groups
* Minor changes to user credential prompt
This commit is contained in:
parent
ca3453ecfb
commit
a7f9e3846e
8 changed files with 145 additions and 37 deletions
|
@ -74,6 +74,7 @@ function submitApplication(callingMenu, formData, extraArgs) {
|
|||
menuViewController.switchFocus(viewIds[0]);
|
||||
} else {
|
||||
// Seems legit!
|
||||
// :TODO: All of this should be a system API, not a mod
|
||||
var newUser = new user.User();
|
||||
|
||||
newUser.username = formData.value.username;
|
||||
|
@ -87,10 +88,11 @@ function submitApplication(callingMenu, formData, extraArgs) {
|
|||
email_address : formData.value.email,
|
||||
web_address : formData.value.web,
|
||||
|
||||
// :TODO: This is set in User.create() -- proabbly don't need it here:
|
||||
account_status : Config.users.requireActivation ? user.User.AccountStatus.inactive : user.User.AccountStatus.active,
|
||||
|
||||
// :TODO: Other defaults
|
||||
// :TODO: should probably have a place to create defaults/etc.
|
||||
// :TODO: should probably have a place to create defaults/etc.
|
||||
};
|
||||
|
||||
if('*' === Config.defaults.theme) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue