add commented line as place holder

This commit is contained in:
hubert 2021-07-22 13:52:49 +02:00
parent 22836e1f3a
commit 9832f30360
1 changed files with 1 additions and 0 deletions

View File

@ -66,6 +66,7 @@ pub async fn git_main<T : AuthValidator>(
//auth : BasicAuth,
) -> Result<GitMainTemplate<Vec<Entry>, Vec<(String, String)>>, error::Error> {
// 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 {
None => {"".to_string()}
Some(s) => {