Skip to content

Commit

Permalink
Reverted loginForm Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
daretobedifferent18 committed Nov 19, 2020
1 parent 6ce3701 commit 0d225ea
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions app/components/forms/login-form.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import classic from 'ember-classic-decorator';
import Component from '@ember/component';
import FormMixin from 'open-event-frontend/mixins/form';
import { action } from '@ember/object';
import { validEmail } from 'open-event-frontend/utils/validators';


@classic
export default class LoginForm extends Component.extend(FormMixin) {
Expand All @@ -27,8 +25,7 @@ export default class LoginForm extends Component.extend(FormMixin) {
prompt : this.l10n.t('Please enter your email ID')
},
{
type : 'regExp',
value : validEmail,
type : 'email',
prompt : this.l10n.t('Please enter a valid email address')
}
]
Expand Down

0 comments on commit 0d225ea

Please sign in to comment.