mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-01-18 09:04:44 +01:00
Remember post password if entered manually
This commit is contained in:
parent
8b4d88b068
commit
36a34be39f
@ -168,6 +168,9 @@ function dopost(form) {
|
||||
if (form.elements['name']) {
|
||||
localStorage.name = form.elements['name'].value.replace(/( |^)## .+$/, '');
|
||||
}
|
||||
if (form.elements['password']) {
|
||||
localStorage.password = form.elements['password'].value;
|
||||
}
|
||||
if (form.elements['email'] && form.elements['email'].value != 'sage') {
|
||||
localStorage.email = form.elements['email'].value;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user