Changeset 1d92bf2 in OpenWorkouts-current for ow/templates/signup.pt


Ignore:
Timestamp:
Dec 16, 2018, 1:07:04 AM (5 years ago)
Author:
borja <borja@…>
Branches:
current, feature/docs, master
Children:
6560b8f
Parents:
929097a
Message:

(#37) Allow login using email address instead of username:

  • Use user uids as keys in the root folder for referencing user objects (instead of username)
  • Use uids for referencing users all over the place (auth, permissions, traversal urls, etc)
  • Replaced the username concept with nickname. This nickname will be used as a shortcut to access "public profile" pages for users
  • Reworked lots of basic methods in the OpenWorkouts root object (s/username/nickname, marked as properties some methods like users, emails, etc)
  • Added new add_user() and delete_user() helpers to the OpenWorkouts root object
  • Fixed bug in the dashboard redirect view, causing an endless loop if an authenticated user does not exist anymore when loading a page.
  • Lots of tests fixes, adaptations and catch up.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • ow/templates/signup.pt

    r929097a r1d92bf2  
    1818          <fieldset>
    1919            <div>
    20               ${form.errorlist('username')}
    21               <label for="username" i18n:translate="">Username</label>
    22               <input placeholder="Choose a cool username" type="text"
    23                      name="username" value="" i18n:attributes="placeholder">
    24             </div>
    25 
    26             <div>
    2720              ${form.errorlist('email')}
    2821              <label for="email" i18n:translate="">Email</label>
     
    3023                     type="text" name="email"
    3124                     value="" i18n:attributes="placeholder">
     25            </div>
     26            <div>
     27              ${form.errorlist('nickname')}
     28              <label for="nickname" i18n:translate="">Nickname</label>
     29              <input placeholder="Choose a cool nickname" type="text"
     30                     name="nickname" value="" i18n:attributes="placeholder">
    3231            </div>
    3332            <div>
     
    5049                     type="password" i18n:attributes="placeholder">
    5150            </div>
    52 
    5351            <div>
    5452              ${form.errorlist('password_confirm')}
Note: See TracChangeset for help on using the changeset viewer.