CSC495-2014 / TeamworkEnglewoodGit

GNU General Public License v2.0
5 stars 15 forks source link

Authorization (Authentication?) Problems #166

Open mikeholler opened 10 years ago

mikeholler commented 10 years ago

Will, just so you know I cannot log into the application hosted on the server. Don't know what's wrong. Everything I try has me coming back from GitHub's login prompt to the TeamworkEnglewoodGit login page. Weird. I can share with you tomorrow. Please do not feel obligated to put any additional effort into this tonight, as I think everyone recognizes that you've been working very hard on this.

wwforg commented 10 years ago

I just tried and it worked for me, so that's kind of weird. We'll talk tomorrow

mikeholler commented 10 years ago

Yep, sure thing.

mikeholler commented 10 years ago

Putting this here for when we talk tomorrow. Should 'verifyUser:$user' be single quoted? Is $user an actual variable?

Route::get('user/{user}/project/{project}/editor',
    array('before' => 'verifyUser:$user',
        function($user, $project)
        {
            return View::make('editor', ['user' => $user, 'project' => $project]);
        }));
wwforg commented 10 years ago

This issue and the SSH key issue #167 were both stemming from a rather stupid error. When I was testing multiple organizations, I set the organization in the config file to a test organization of which I was the only member. I have corrected this issue, and so everyone is able to login presuming that they have either a clearly public or private email.

mikeholler commented 10 years ago

Awesome @wwforg, just open a pull request when you get time and I'll work it in.