Last change
on this file since 13827 was
13805,
checked in by jlodewyc, 9 years ago
|
#2582 Bugfixing, email setup password and code commenting
|
File size:
615 bytes
|
Line | |
---|
1 | var hubber = $.connection.userInfoHub;
|
---|
2 |
|
---|
3 | $(function () {
|
---|
4 | //$.connection.hub.logging = true;
|
---|
5 | var v = document.getElementById("userId").innerHTML;
|
---|
6 | console.log(v);
|
---|
7 | $.connection.hub.qs = { 'userid': v };
|
---|
8 | $.connection.hub.start();
|
---|
9 | hubber.client.showNewPass = function (pass) {
|
---|
10 | $("#inppassreset").html("<label class=' control-label' style='text-align:left'>New pass: " + pass + ". An email has been sent to the user containing the new password</label>");
|
---|
11 |
|
---|
12 | };
|
---|
13 | });
|
---|
14 | function resetPass(uid) {
|
---|
15 | hubber.server.resetPassword(uid);
|
---|
16 |
|
---|
17 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.