-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Add input focus for author login - Change mail sending to HTML - Change space name max length to 35 - Add favicon - Change version number
- Loading branch information
1 parent
e350f3a
commit 7c735a5
Showing
19 changed files
with
67 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,22 @@ | ||
<template name="resetPassword"> | ||
<div class="reset-password"> | ||
<div class="page-title">{{_ 'reset-password--page-title'}}</div> | ||
<form id="login--form" class="login--form"> | ||
<div class="login--wrapper"> | ||
<label><b>{{_ 'reset-password--new-password'}}</b></label><br /> | ||
<input type="password" name="" class="form-control" id="password" value=""><br /> | ||
</div> | ||
<div class="login--button-wrapper"> | ||
<button type="submit" class="button button-primary reset-password--button-submit">{{_ 'reset-password--button-submit'}}</button> | ||
</div> | ||
</form> | ||
<div class="login--register-link-wrapper"> | ||
<span>{{_ 'login--register'}}<br /><br /> | ||
<a href="{{pathFor 'register'}}"> {{_ 'login--register-link'}}</a> ! | ||
</span> | ||
<div class="container"> | ||
<div class="row justify-content-center"> | ||
<div class="col-sm-12 col-lg-8 pt-4 pl-4 pr-4 pb-3 text-center"> | ||
<h1 class="mb-5">{{_ 'reset-password--page-title'}}</h1> | ||
<div class="text-justify"> | ||
<form id="login--form" class="login--form"> | ||
<div class="login--wrapper"> | ||
<label><b>{{_ 'reset-password--new-password'}}</b></label><br /> | ||
<input type="password" name="" class="form-control" id="password" value=""><br /> | ||
</div> | ||
<div class="login--button-wrapper"> | ||
<button type="button" class="btn btn-primary w-100 reset-password--button-submit">{{_ 'reset-password--button-submit'}}</button> | ||
</div> | ||
</form> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"version": "1.29" | ||
"version": "1.3" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,22 +3,22 @@ Meteor.startup(function() { | |
|
||
// ### Mail configuration ### | ||
process.env.MAIL_URL = 'smtp://'+Meteor.settings.mailAddress+':'+Meteor.settings.mailPassword+'@'+Meteor.settings.mailServer; | ||
Accounts.emailTemplates.from = "beekee.ch <[email protected]>"; | ||
Accounts.emailTemplates.from = "Beekee Live <[email protected]>"; | ||
|
||
// Reset Password mail configuration | ||
Accounts.emailTemplates.resetPassword.text = function (user, url) { | ||
return "Hi, \n\n You recently requested to reset your password for your Beekee account.\n\n Click the link below to reset it. : \n" | ||
return "Hi, \n\n You recently requested to reset your password for your Beekee Live account.\n\n Click the link below to reset it. : \n" | ||
+ url | ||
+ "\n\n If you did not requested a password reset, please ignore this email." | ||
+ "\n\n Thanks," | ||
+ "\n\n Beekee Team"; | ||
+ "\n\n Beekee Live Team"; | ||
}; | ||
Accounts.emailTemplates.resetPassword.subject = function () { | ||
return "Reset your Beekee password"; | ||
return "Reset your Beekee Live password"; | ||
}; | ||
|
||
Accounts.urls.resetPassword = function(token) { | ||
return 'http://web.beekee.ch/reset-password/' + token; | ||
return 'http://live.beekee.ch/reset-password/' + token; | ||
}; | ||
}); | ||
|
||
|
@@ -37,7 +37,7 @@ Meteor.methods({ | |
to: to, | ||
from: from, | ||
subject: subject, | ||
text: text | ||
html: text | ||
}); | ||
}, | ||
'adminSetNewPassword': function(adminId, userId, newPassword) { // Admin can forcibly change the password for a user | ||
|