Skip to content

Commit

Permalink
Merge pull request #1 from Requarks/dev
Browse files Browse the repository at this point in the history
Merge upstream
  • Loading branch information
broxen authored Sep 30, 2021
2 parents 8d1f752 + a208f1f commit f28c90d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ Support this project by becoming a sponsor. Your name will show up in the Contri
Alexander Casassovici<br />(@alexksso)
</a>
</td>
<td align="center" valign="middle" width="148">
<a href="https://github.com/broxen" target="_blank">
Broxen<br />(@broxen)
</a>
</td>
<td align="center" valign="middle" width="148">
<a href="https://github.com/xDacon" target="_blank">
Dacon<br />(@xDacon)
Expand All @@ -85,11 +90,6 @@ Support this project by becoming a sponsor. Your name will show up in the Contri
Oleksii<br />(@idokka)
</a>
</td>
<td align="center" valign="middle" width="148">
<a href="https://github.com/TheodoreChu" target="_blank">
Theodore Chu<br />(@TheodoreChu)
</a>
</td>
<!--<td align="center" valign="middle" width="148">
<a href="https://github.com/sponsors/NGPixel" target="_blank">
<img src="https://static.requarks.io/sponsors/become-148x72.png">
Expand All @@ -110,6 +110,7 @@ Support this project by becoming a sponsor. Your name will show up in the Contri
- Dragan Espenschied ([@despens](https://github.com/despens))
- Elijah Zobenko ([@he110](https://github.com/he110))
- Ernie ([@iamernie](https://github.com/iamernie))
- Fabio Ferrari ([@devxops](https://github.com/devxops))
- Florian Moss ([@florianmoss](https://github.com/florianmoss))
- HeavenBay ([@HeavenBay](https://github.com/heavenbay))
- Jaimyn Mayer ([@jabelone](https://github.com/jabelone))
Expand All @@ -127,6 +128,7 @@ Support this project by becoming a sponsor. Your name will show up in the Contri
- Robert Lanzke ([@winkelement](https://github.com/winkelement))
- Sam Martin ([@winkelement](https://github.com/ABitMoreDepth))
- Sean Coffey ([@seanecoffey](https://github.com/seanecoffey))
- Theodore Chu ([@TheodoreChu](https://github.com/TheodoreChu))
- Victor Bilgin ([@vbilgin](https://github.com/vbilgin))
- VMO Solutions ([@vmosolutions](https://github.com/vmosolutions))
- aniketpanjwani ([@aniketpanjwani](https://github.com/aniketpanjwani))
Expand Down
2 changes: 1 addition & 1 deletion server/modules/authentication/rocketchat/authentication.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module.exports = {
cb(null, {
id: usr._id,
displayName: _.isEmpty(usr.name) ? usr.username : usr.name,
email: usr.email,
email: usr.emails[0].address,
picture: usr.avatarUrl
})
} catch (err) {
Expand Down
2 changes: 1 addition & 1 deletion server/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ module.exports = () => {
// Create root administrator
WIKI.logger.info('Creating root administrator...')
const adminUser = await WIKI.models.users.query().insert({
email: req.body.adminEmail,
email: req.body.adminEmail.toLowerCase(),
provider: 'local',
password: req.body.adminPassword,
name: 'Administrator',
Expand Down

0 comments on commit f28c90d

Please sign in to comment.