More use of isProduction/isDevelopment getters
This commit is contained in:
@@ -160,9 +160,7 @@ class Team extends ParanoidModel {
|
||||
* @return {boolean} Whether to show email login options
|
||||
*/
|
||||
get emailSigninEnabled(): boolean {
|
||||
return (
|
||||
this.guestSignin && (!!env.SMTP_HOST || env.ENVIRONMENT === "development")
|
||||
);
|
||||
return this.guestSignin && (!!env.SMTP_HOST || env.isDevelopment);
|
||||
}
|
||||
|
||||
get url() {
|
||||
|
||||
Reference in New Issue
Block a user