mirror of https://github.com/calzoneman/sync.git
Fix reset password
This commit is contained in:
parent
2b0e6a3dbf
commit
3f65a69f0e
|
@ -1,3 +1,10 @@
|
|||
Fri Sep 13 10:10 2013 CDT
|
||||
* www/reset.html: Fix data.js dependency
|
||||
* lib/api.js: Fix ActionLog trying to record wrong data. How long has
|
||||
this been broken?
|
||||
* www/assets/js/acp.js: Prepend "/reset.html?" in case admins can't
|
||||
remember what the URL is
|
||||
|
||||
Thu Sep 12 18:41 2013 CDT
|
||||
* www/index.html: Fix index page not showing public channels
|
||||
|
||||
|
|
|
@ -386,7 +386,7 @@ module.exports = function (Server) {
|
|||
});
|
||||
return;
|
||||
}
|
||||
ActionLog.record(ip, info[0], "password-recover-success");
|
||||
ActionLog.record(ip, auth.name, "password-recover-success");
|
||||
res.jsonp({
|
||||
success: true,
|
||||
name: auth.name,
|
||||
|
|
|
@ -407,7 +407,7 @@ function setupCallbacks() {
|
|||
if(!data.success)
|
||||
alert(data.error);
|
||||
else
|
||||
alert("Password reset successful. Reset hash: " + data.hash);
|
||||
alert("Password reset successful. Reset hash: /reset.html?" + data.hash);
|
||||
});
|
||||
|
||||
socket.on("acp-channeldata", function(data) {
|
||||
|
|
|
@ -60,6 +60,7 @@
|
|||
<script src="./assets/js/bootstrap-modal.js"></script>
|
||||
|
||||
<!-- Mine -->
|
||||
<script src="./assets/js/data.js"></script>
|
||||
<script src="./assets/js/iourl.js"></script>
|
||||
<script type="text/javascript">
|
||||
var hash = false;
|
||||
|
|
Loading…
Reference in New Issue