blob: e949f12a5289081f850af891b66411b509413a00 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
srp.Account = function(login, password, id) {
// Returns the user's identity
this.login = function() {
return login || document.getElementById("srp_username").value;
};
// Returns the password currently typed in
this.password = function() {
return password || document.getElementById("srp_password").value;
};
// The user's id
this.id = function() {
return id || document.getElementById("user_param").value;
};
}
|