Redux-form: Is it safe to use redux-form for password fields?

Created on 2 Jan 2016  路  3Comments  路  Source: redux-form/redux-form

I want to use this for a login form but after login I don't want the password staying around in memory (in case of XSS or some other issue, I don't want it to be available to be stolen.) Is it safe to use redux-form for the password field? Or is there a way to clear the value from memory after the login call is made?

Most helpful comment

Yes. The form is destroyed by default when you unmount the form component. Alternatively, you may dispatch the DESTROY action yourself.

All 3 comments

Yes. The form is destroyed by default when you unmount the form component. Alternatively, you may dispatch the DESTROY action yourself.

:+1:

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nygardk picture nygardk  路  3Comments

wtfil picture wtfil  路  3Comments

bertjwregeer picture bertjwregeer  路  3Comments

shikelong picture shikelong  路  3Comments

captainkovalsky picture captainkovalsky  路  3Comments