mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-23 23:20:57 +01:00
Remember post password if entered manually
This commit is contained in:
parent
c3434d29fd
commit
db8173fe62
@ -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…
Reference in New Issue
Block a user