mirror of
https://git.ethanthesleepy.one/ethanaobrien/ew.git
synced 2025-05-13 11:37:33 -05:00
Dont base64 decode auth str
This commit is contained in:
parent
8407b03c00
commit
7b92f01bcb
1 changed files with 0 additions and 6 deletions
|
@ -121,9 +121,6 @@ fn get_uid(conn: &Connection, uid: &str) -> i64 {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn get_data(a6573cbe: &str) -> JsonValue {
|
fn get_data(a6573cbe: &str) -> JsonValue {
|
||||||
let decoded = general_purpose::STANDARD.decode(a6573cbe).unwrap();
|
|
||||||
let a6573cbe = String::from_utf8_lossy(&decoded);
|
|
||||||
|
|
||||||
loop {
|
loop {
|
||||||
match ENGINE.lock() {
|
match ENGINE.lock() {
|
||||||
Ok(mut result) => {
|
Ok(mut result) => {
|
||||||
|
@ -167,9 +164,6 @@ pub fn get_acc_home(a6573cbe: &str) -> JsonValue {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn save_acc(a6573cbe: &str, data: JsonValue) {
|
pub fn save_acc(a6573cbe: &str, data: JsonValue) {
|
||||||
let decoded = general_purpose::STANDARD.decode(a6573cbe).unwrap();
|
|
||||||
let a6573cbe = String::from_utf8_lossy(&decoded);
|
|
||||||
|
|
||||||
loop {
|
loop {
|
||||||
match ENGINE.lock() {
|
match ENGINE.lock() {
|
||||||
Ok(mut result) => {
|
Ok(mut result) => {
|
||||||
|
|
Loading…
Add table
Reference in a new issue