Skip to content
Snippets Groups Projects
Commit 4cbb9052 authored by Pavel Vyskočil's avatar Pavel Vyskočil
Browse files

Use email as identifier instead of username

parent 9ba0d243
No related branches found
No related tags found
No related merge requests found
...@@ -2,6 +2,9 @@ ...@@ -2,6 +2,9 @@
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
## [Unreleased] ## [Unreleased]
#### Changed
- Use email as identifier instead of username
## [v1.0.0] ## [v1.0.0]
- First release - First release
......
...@@ -3,12 +3,15 @@ ...@@ -3,12 +3,15 @@
"en": "Please provide your mail so that we can contact you for further information or let you know the issue was fixed." "en": "Please provide your mail so that we can contact you for further information or let you know the issue was fixed."
}, },
"user_pass_header": { "user_pass_header": {
"en": "Life Science Hostel IdP Login" "en": "Life Science Hostel Login"
}, },
"user_pass_text": { "user_pass_text": {
"en": "Enter your username and password" "en": "Enter your email and password"
}, },
"register_acc_hostel": { "register_acc_hostel": {
"en": "Don't have account? Sign up here!" "en": "Don't have account? Sign up here!"
},
"email": {
"en": "Email"
} }
} }
...@@ -45,7 +45,7 @@ if ($this->data['errorcode'] !== null) { ...@@ -45,7 +45,7 @@ if ($this->data['errorcode'] !== null) {
<form action="?" method="post" name="f" class="form-horizontal"> <form action="?" method="post" name="f" class="form-horizontal">
<div class="form-group"> <div class="form-group">
<label for="username" class="col-sm-2 control-label"><?php echo $this->t('{login:username}'); ?></label> <label for="username" class="col-sm-2 control-label"><?php echo $this->t('{lshostel:lshostel:email}'); ?></label>
<div class="col-sm-10"> <div class="col-sm-10">
<input id="username" <?php echo ($this->data['forceUsername']) ? 'disabled="disabled"' : ''; ?> <input id="username" <?php echo ($this->data['forceUsername']) ? 'disabled="disabled"' : ''; ?>
type="text" name="username" class="form-control" type="text" name="username" class="form-control"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment