Skip to content

Commit

Permalink
fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
gedaiu committed Feb 24, 2020
1 parent bedfdfb commit f5d6ad7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
20 changes: 10 additions & 10 deletions source/vibeauth/configuration.d
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ struct Paths {
}

///
struct Templates {
deprecated("it will be removed") struct Templates {
mixin ObjectLoader;

///
Expand All @@ -126,7 +126,7 @@ struct Templates {
UserManagementTemplates userManagement;
}

struct ResourcePaths {
deprecated("it will be removed") struct ResourcePaths {
///
string bootstrapStyle = "/assets/bootstrap.min.css";
///
Expand All @@ -136,10 +136,10 @@ struct ResourcePaths {
}

/// Registration process url paths
struct RegistrationPaths {
deprecated("it will be removed") struct RegistrationPaths {
mixin StringLoader;

///
///
string register = "/register";
///
string addUser = "/register/user";
Expand All @@ -154,7 +154,7 @@ struct RegistrationPaths {
}

/// Html templaes used in the registration process
struct RegistrationTemplates {
deprecated("it will be removed") struct RegistrationTemplates {
mixin FileLoader;

///
Expand All @@ -167,15 +167,15 @@ struct RegistrationTemplates {
string confirmationTemplate = import("register/confirmationTemplate.html");
///
string confirmation = import("register/confirmation.html");;

///
string successTemplate = import("register/successTemplate.html");
///
string success = import("register/success.html");
}

/// Paths for the login process
struct LoginPaths {
deprecated("it will be removed") struct LoginPaths {
mixin StringLoader;

///
Expand All @@ -198,7 +198,7 @@ struct LoginPaths {
}

/// Html templates for the login process
struct LoginTemplates {
deprecated("it will be removed") struct LoginTemplates {
mixin FileLoader;

///
Expand All @@ -214,7 +214,7 @@ struct LoginTemplates {
string resetPassword = import("login/resetPasswordForm.html");
}

struct UserManagementPaths {
deprecated("it will be removed") struct UserManagementPaths {
mixin StringLoader;

///
Expand Down Expand Up @@ -242,7 +242,7 @@ struct UserManagementPaths {
string updateSecurity = "/admin/users/:id/security/update";
}

struct UserManagementTemplates {
deprecated("it will be removed") struct UserManagementTemplates {
mixin FileLoader;

///
Expand Down
3 changes: 1 addition & 2 deletions source/vibeauth/router/login/routes.d
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@ import std.datetime, std.random, std.uri, std.file;

import vibe.core.core;


import vibeauth.client;
import vibeauth.collection;
import vibeauth.collections.usercollection;
import vibeauth.configuration;
import vibeauth.router.accesscontrol;
import vibeauth.router.baseAuthRouter;
Expand Down

0 comments on commit f5d6ad7

Please sign in to comment.