Skip to content

Commit f28c90d

Browse files
authored
Merge pull request #1 from Requarks/dev
Merge upstream
2 parents 8d1f752 + a208f1f commit f28c90d

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

README.md

+7-5
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,11 @@ Support this project by becoming a sponsor. Your name will show up in the Contri
6565
Alexander Casassovici<br />(@alexksso)
6666
</a>
6767
</td>
68+
<td align="center" valign="middle" width="148">
69+
<a href="https://github.com/broxen" target="_blank">
70+
Broxen<br />(@broxen)
71+
</a>
72+
</td>
6873
<td align="center" valign="middle" width="148">
6974
<a href="https://github.com/xDacon" target="_blank">
7075
Dacon<br />(@xDacon)
@@ -85,11 +90,6 @@ Support this project by becoming a sponsor. Your name will show up in the Contri
8590
Oleksii<br />(@idokka)
8691
</a>
8792
</td>
88-
<td align="center" valign="middle" width="148">
89-
<a href="https://github.com/TheodoreChu" target="_blank">
90-
Theodore Chu<br />(@TheodoreChu)
91-
</a>
92-
</td>
9393
<!--<td align="center" valign="middle" width="148">
9494
<a href="https://github.com/sponsors/NGPixel" target="_blank">
9595
<img src="https://static.requarks.io/sponsors/become-148x72.png">
@@ -110,6 +110,7 @@ Support this project by becoming a sponsor. Your name will show up in the Contri
110110
- Dragan Espenschied ([@despens](https://github.com/despens))
111111
- Elijah Zobenko ([@he110](https://github.com/he110))
112112
- Ernie ([@iamernie](https://github.com/iamernie))
113+
- Fabio Ferrari ([@devxops](https://github.com/devxops))
113114
- Florian Moss ([@florianmoss](https://github.com/florianmoss))
114115
- HeavenBay ([@HeavenBay](https://github.com/heavenbay))
115116
- Jaimyn Mayer ([@jabelone](https://github.com/jabelone))
@@ -127,6 +128,7 @@ Support this project by becoming a sponsor. Your name will show up in the Contri
127128
- Robert Lanzke ([@winkelement](https://github.com/winkelement))
128129
- Sam Martin ([@winkelement](https://github.com/ABitMoreDepth))
129130
- Sean Coffey ([@seanecoffey](https://github.com/seanecoffey))
131+
- Theodore Chu ([@TheodoreChu](https://github.com/TheodoreChu))
130132
- Victor Bilgin ([@vbilgin](https://github.com/vbilgin))
131133
- VMO Solutions ([@vmosolutions](https://github.com/vmosolutions))
132134
- aniketpanjwani ([@aniketpanjwani](https://github.com/aniketpanjwani))

server/modules/authentication/rocketchat/authentication.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ module.exports = {
2323
cb(null, {
2424
id: usr._id,
2525
displayName: _.isEmpty(usr.name) ? usr.username : usr.name,
26-
email: usr.email,
26+
email: usr.emails[0].address,
2727
picture: usr.avatarUrl
2828
})
2929
} catch (err) {

server/setup.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ module.exports = () => {
288288
// Create root administrator
289289
WIKI.logger.info('Creating root administrator...')
290290
const adminUser = await WIKI.models.users.query().insert({
291-
email: req.body.adminEmail,
291+
email: req.body.adminEmail.toLowerCase(),
292292
provider: 'local',
293293
password: req.body.adminPassword,
294294
name: 'Administrator',

0 commit comments

Comments
 (0)