User Registration

This is a simple example of using anonymous access to an application, i.e. taking some actions before login. Users can click the Register link on the login screen and register in the application with a new login name and password.

  • ExtLoginScreen is an extension of the standard login screen. It adds the Register link and can receive new user credentials back from the register screen to set them to the fields.

  • RegisterScreen accepts new user credentials and creates a new user in the database with the specified group and role.

  • RestorePasswordScreen generates a new password for an existing user and sends e-mail message with the generated password.

  • RegistrationService is a simple service that provides user registration functionality. It can be created manually or simply using Studio (see how to create and using services).

  • app.properties sets location of e-mail templates for password reset.

Based on CUBA Platform 7.1

Issues

Please use https://www.cuba-platform.com/discuss for discussion, support, and reporting problems coressponding to this sample.