model: rename to auth
Since the "model" doesn't contain any message from the API anymore, and instead contains only the structures needed for authentication, it was renamed as such.
This commit is contained in:
committed by
nitnelave
parent
9dd579e32e
commit
3eb53ba5bf
@@ -1,7 +1,7 @@
|
||||
use crate::cookies::set_cookie;
|
||||
use anyhow::{anyhow, Context, Result};
|
||||
use graphql_client::GraphQLQuery;
|
||||
use lldap_model::{login, registration, JWTClaims};
|
||||
use lldap_auth::{login, registration, JWTClaims};
|
||||
|
||||
use yew::callback::Callback;
|
||||
use yew::format::Json;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
use crate::api::HostService;
|
||||
use anyhow::{anyhow, Context, Result};
|
||||
use graphql_client::GraphQLQuery;
|
||||
use lldap_model::{opaque, registration};
|
||||
use lldap_auth::{opaque, registration};
|
||||
use yew::prelude::*;
|
||||
use yew::services::{fetch::FetchTask, ConsoleService};
|
||||
use yew_router::{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
use crate::api::HostService;
|
||||
use anyhow::{anyhow, Context, Result};
|
||||
use lldap_model::*;
|
||||
use lldap_auth::*;
|
||||
use wasm_bindgen::JsCast;
|
||||
use yew::prelude::*;
|
||||
use yew::services::{fetch::FetchTask, ConsoleService};
|
||||
|
||||
Reference in New Issue
Block a user