mirror of
https://git.rwth-aachen.de/acs/public/villas/web/
synced 2025-03-23 00:00:02 +01:00

Add logout route as buffer between logged-in state and login form Fix setting current user in service Fix message on invalid credentials in login form Don't save the user password
10 lines
291 B
JavaScript
10 lines
291 B
JavaScript
import Model from 'ember-data/model';
|
|
import attr from 'ember-data/attr';
|
|
import { hasMany } from 'ember-data/relationships';
|
|
|
|
export default Model.extend({
|
|
username: attr('string'),
|
|
adminLevel: attr('number'),
|
|
projects: hasMany('project', { async: true }),
|
|
mail: attr('string')
|
|
});
|