Skip to content

Commit 95153a7

Browse files
author
Timothy E. Johansson
committed
2 parents 1fef2bd + 78c9169 commit 95153a7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,8 @@ The template `partials/set-password.html` should consist of a form with an input
211211

212212
```html
213213
<form ua-set-password ng-show="!passwordSaved">
214-
<input name="new_password" placeholder="New password"><br>
215-
<button type="submit">Send email</button>
214+
<input name="new_password" type="password" placeholder="New password"><br>
215+
<button type="submit">Save password</button>
216216

217217
<p ng-show="error">{{ error.message }}</p>
218218
</form>
@@ -287,7 +287,7 @@ user.onAccessDenied(function(user, route, stateParams) {
287287

288288
For the Angular router the target route is passed as second parameter to the handler. For the UI router, the target state and the target state parameters are passed as parameters two and three.
289289

290-
After a successful login, the default behavior is to transition to the default route. To change this behaviour, override the `authenticationSuccessHandler` like this:
290+
After a successful login, the default behavior is to transition to the default route. To change this behavior, override the `authenticationSuccessHandler` like this:
291291

292292
```javascript
293293
user.onAuthenticationSuccess(function() {

0 commit comments

Comments
 (0)