From f058c266d209955acc96eaeff3a90076de860648 Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Fri, 1 Apr 2016 16:23:29 +0200 Subject: [PATCH] Add username and display name form fields on account setup --- src/oauth2views/password_setup.ejs | 32 +++++++++++++++++++++++------- 1 file changed, 25 insertions(+), 7 deletions(-) diff --git a/src/oauth2views/password_setup.ejs b/src/oauth2views/password_setup.ejs index bf5164d4d..6beee3349 100644 --- a/src/oauth2views/password_setup.ejs +++ b/src/oauth2views/password_setup.ejs @@ -13,7 +13,8 @@ app.controller('Controller', [function () {}]);
-

Hello <%= user.username %>, set a password

+

Hello <%= user.username %>, welcome to your Cloudron.

+

Setup your account and password.

@@ -23,20 +24,37 @@ app.controller('Controller', [function () {}]); -
- +
+ +
+ The username is too short + The username is too long + Not a valid username +
+ +
+ +
+ + +
+ +
+
Password must be 8-30 character with at least one uppercase, one numeric and one special character
- +
-
- + +
+
Passwords don't match
- +
+