mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 20:30:33 +00:00
WIP: register setup wizard pages.
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import Container from 'typedi';
|
||||
import TenancyService from 'services/Tenancy/TenancyService'
|
||||
|
||||
exports.up = (knex) => {
|
||||
const tenancyService = Container.get(TenancyService);
|
||||
|
||||
@@ -87,9 +87,6 @@ export default class AuthenticationService implements IAuthenticationService {
|
||||
// Remove password property from user object.
|
||||
Reflect.deleteProperty(user, 'password');
|
||||
|
||||
// Remove id property from tenant object.
|
||||
Reflect.deleteProperty(tenant, 'id');
|
||||
|
||||
return { user, token, tenant };
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user