mirror of
https://forge.pointfixe.fr/hubert/gitust.git
synced 2026-02-04 12:27:27 +01:00
add commented line as place holder
This commit is contained in:
@@ -66,6 +66,7 @@ pub async fn git_main<T : AuthValidator>(
|
|||||||
//auth : BasicAuth,
|
//auth : BasicAuth,
|
||||||
) -> Result<GitMainTemplate<Vec<Entry>, Vec<(String, String)>>, error::Error> {
|
) -> Result<GitMainTemplate<Vec<Entry>, Vec<(String, String)>>, error::Error> {
|
||||||
// let authtorization = auth.ok_or(error::Error::Unauthorized("safe repo".to_string()))?;
|
// let authtorization = auth.ok_or(error::Error::Unauthorized("safe repo".to_string()))?;
|
||||||
|
//let authorization = auth.and_then(|cred| validator.check_basic(&cred)).ok_or(error::Error::Unauthorized("safe repo".to_string()))?;
|
||||||
let rootname = match pathopt {
|
let rootname = match pathopt {
|
||||||
None => {"".to_string()}
|
None => {"".to_string()}
|
||||||
Some(s) => {
|
Some(s) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user