mirror of
https://github.com/timmypidashev/web.git
synced 2026-04-15 03:23:50 +00:00
minor polish
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
function login(username, password) {
|
||||
if (username == 'student' && password == 'student.23264') {
|
||||
setTimeout(function() { // delay the location.replace for one second for login animation
|
||||
location.replace('assignments.html');
|
||||
}, 1000);
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user