<p>Craft currently doesn't expose that user info to the setpassword template.</p>

<p>You could write a plugin that mimicked that portion of Craft's <a href="https://craftcms.com/classreference/controllers/UsersController" rel="nofollow noreferrer">UsersController</a> except returns the <a href="https://craftcms.com/classreference/models/UserModel" rel="nofollow noreferrer">UserModel</a> (or part of it) to the template and/or make a <a href="https://github.com/craftcms/cms/issues" rel="nofollow noreferrer">feature request</a> to expose more of info to that template.</p>

<hr>

CC BY-SA 3.0
2017-02-18T01:46:50.027Z
2017-02-18T01:46:50.027Z
Brad Bell
<p>I am looking to make use of the users first name as well as their email address on setpassword page.</p>

<p>I am not seeing any way to grab those fields unless I am missing something?</p>

<users>
Get username and email on setpassword form
# Get username and email on setpassword form

(Asked by: username_0 on 2017-02-17)

I am looking to make use of the users first name as well as their email address on setpassword page.

I am not seeing any way to grab those fields unless I am missing something?

**Tags:** users

---

## 1 answers

### Answer by username_1 on 2017-02-18. Score: 1

Craft currently doesn't expose that user info to the setpassword template.

You could write a plugin that mimicked that portion of Craft's [UsersController](https://craftcms.com/classreference/controllers/UsersController) except returns the [UserModel](https://craftcms.com/classreference/models/UserModel) (or part of it) to the template and/or make a [feature request](https://github.com/craftcms/cms/issues) to expose more of info to that template.

---


---

