User Profile

Vanguard - Advanced PHP Login and User Management Vanguard - Advanced PHP Login and User Management / Last updated on October 29, 2018

Every user of the system, no matter what his role is, is able to update his profile. Link to user's profile is available at the top right corner like it is displayed below:

UWeivq7esFVhqeXh5W4muzHvKbqZdazthfObYXRp.png

Details

On Profile Details page, users can update their basic information like First Name, Last Name etc. Also, they are able to update they country from a list of available countries or to update their birthday using easy bootstrap calendar plugin.

caA4l42SruIOYr3GiVoez4VrkOt1SOxapifWkvZq.png

Avatar

Every user is able to set his avatar photo. By clicking "Change Photo" button below his current avatar, he is able to remove current avatar by clicking No Photo, to upload avatar image or to use his Gravatar (if there is no Gravatar account attached to his email address, default Gravatar image will be displayed).

x8BIHcytSa9zDXUUZekUmzxcoLsoBiQagMB0lBxG.png

If use is authenticated with some social network (like Facebook, for example) he will be able to select avatars from the social network he is authenticated with. In this case, the user was authenticated with Facebook, so he is able to select a Facebook avatar and use it within the Vanguard application.

Uploading Avatar

Uploading avatar is ridiculously easy. After selecting Upload Avatar option on modal dialog from above, and selecting the avatar photo, you are able to zoom the selected photo in and out and move it around until you are happy with how it looks. After putting the image to the desired position, and clicking the Save button, the avatar will be automatically cropped and uploaded to the server, and user's avatar will be updated.

zMSTMM7VMC2587b7nFcibeVbs4nZCS4tvhVCU5JK.png

Authentication

On Authentications tab, under Profile section, every user is able to update his login details including email, username, and password. If the password field is empty when users click "Update Details" button, the password will not be updated.

NYBOWvXAcaaNTKx3alx48bOvLo0pKZzGbkXD54rs.png

Users are also able to enable or disable Two-Factor Authentication (2FA) for their account (of course, if it is enabled globally by administrators). And, as it already mentioned in authentication section, in order to use two-factor authentication, a user has to install Authy application on his phone.

To enable 2FA, a user has to provide his Country Code and Cell Phone number, without country code prefix. For example, if your cell phone number is +12345678, and you are from USA, then your Country Code will be 1 and your Cell Phone Number will be 2345678.

If you are not sure what your country code is, list of all country codes can be found here.