Skip to content

Commit 92ddc6a

Browse files
author
Frantz Kati
committed
fix(core): fix all package licesnes
1 parent 7b2d3c2 commit 92ddc6a

File tree

22 files changed

+166
-269721
lines changed

22 files changed

+166
-269721
lines changed

LICENCE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# The MIT License
22

3-
Copyright 2020 Harminder virk, contributors
3+
Copyright 2020 Kati Frantz-Vallie, contributors
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
66

packages/auth/LICENCE.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# The MIT License
2+
3+
Copyright 2020 Kati Frantz-Vallie, contributors
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6+
7+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8+
9+
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

packages/auth/src/index.ts

+2-15
Original file line numberDiff line numberDiff line change
@@ -1777,7 +1777,7 @@ class Auth {
17771777
}
17781778

17791779
private register = async (ctx: ApiContext) => {
1780-
const { manager, mailer, body } = ctx
1780+
const { manager, body } = ctx
17811781

17821782
const validator = Utils.validator(
17831783
this.resources.user,
@@ -1839,11 +1839,7 @@ class Auth {
18391839
}
18401840

18411841
if (this.config.verifyEmails && !this.config.skipWelcomeEmail) {
1842-
mailer
1843-
.to(user.email)
1844-
.sendRaw(
1845-
`Please verify your email using this link: ${user.email_verification_token}`
1846-
)
1842+
18471843
}
18481844

18491845
return this.getUserPayload(ctx, await this.generateRefreshToken(ctx))
@@ -1852,7 +1848,6 @@ class Auth {
18521848
private resendVerificationEmail = async ({
18531849
manager,
18541850
user,
1855-
mailer
18561851
}: ApiContext) => {
18571852
if (!user.email_verification_token) {
18581853
return false
@@ -1864,10 +1859,6 @@ class Auth {
18641859

18651860
await manager.persistAndFlush(user)
18661861

1867-
mailer.to(user.email).sendRaw(`
1868-
Please verify your email using this link: ${user.email_verification_token}
1869-
`)
1870-
18711862
return true
18721863
}
18731864

@@ -2343,10 +2334,6 @@ class Auth {
23432334

23442335
await manager.flush()
23452336

2346-
mailer
2347-
.to(email, existingUser.name)
2348-
.sendRaw(`Some raw message to send with the token ${token}`)
2349-
23502337
return true
23512338
}
23522339

packages/cashier/LICENCE.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# The MIT License
2+
3+
Copyright 2020 Kati Frantz-Vallie, contributors
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6+
7+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8+
9+
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

packages/cms/LICENCE.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# The MIT License
2+
3+
Copyright 2020 Kati Frantz-Vallie, contributors
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6+
7+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8+
9+
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

0 commit comments

Comments
 (0)