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']) {
|
if (form.elements['name']) {
|
||||||
localStorage.name = form.elements['name'].value.replace(/( |^)## .+$/, '');
|
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') {
|
if (form.elements['email'] && form.elements['email'].value != 'sage') {
|
||||||
localStorage.email = form.elements['email'].value;
|
localStorage.email = form.elements['email'].value;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user